home *** CD-ROM | disk | FTP | other *** search
- Path: unixg.ubc.ca!news
- From: Jennifer Gee <jgee@unixg.ubc.ca>
- Newsgroups: comp.lang.c
- Subject: Re: How to make this code portable?
- Date: 2 Mar 1996 21:55:11 GMT
- Organization: The University of British Columbia
- Message-ID: <4hag3v$5or@nntp.ucs.ubc.ca>
- References: <4h8k9j$78r@habs.ee.ubc.ca>
- NNTP-Posting-Host: pclab141-b.commerce.ubc.ca
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.2N (Windows; I; 16bit)
-
-
- >However, on the PC, "*.txt" is passed into my program as
- >command line argument as is. This means that I may have to
- >put in extra operating system dependent logic to expand the wildcard
- >inside my program.
-
- >Ellen Ho
- >ellenh@ee.ubc.ca
-
- You will have to use conditional compilation if you want to make this
- portable, as you will have to write additional code(system("blah");) to
- handle this problem. That is the comp.lang.c answer anyways.
-
- Ed
- etoivane@direct.ca
- (from my girlfriends account today)
-
-